﻿using System.ComponentModel;

namespace NDBGen.Descriptors
{
    /// <summary>Represents a single piece of metadata that contributes toward describing a column</summary>
    public interface ITokenDescriptorMetadata
    {
        /// <summary>Gets an array of <see cref="DataType" /> values that are supported by the <see cref="IColumnDataTypeDescriptor" /> implementation.</summary>
        [DefaultValue(DataType.All)]
        DataType DataTypes { get; }
    }
}